const mysql = require('mysql');

function createConnection() {
  return mysql.createConnection({
    'host': '127.0.0.1',
    'port': '3306',
    'user': 'root',
    'password': 'root',
    'database': 'students'
  });
}

module.exports.createConnection = createConnection;